package com.wxapp.custom.service.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wxapp.common.constant.pojo.vm.ResultVm;
import com.wxapp.common.constant.pojo.vo.UserVo;
import com.wxapp.custom.api.pojo.vm.customAccount.PCustomAccountDetailVm;
import com.wxapp.custom.api.pojo.vm.customAccount.PCustomAccountPageVm;
import com.wxapp.custom.api.pojo.vo.customAccount.QCustomAccountAddVo;
import com.wxapp.custom.api.pojo.vo.customAccount.QCustomAccountPageVo;
import com.wxapp.custom.api.pojo.vo.customAccount.QCustomAccountVo;
import com.wxapp.custom.api.pojo.vo.customAccount.QCustomAccountUpdateVo;

/**
 * @author lgl
 * @Description 用户账户
 * @Datetime 2022/7/4 15:54
 * @Modified By
 */
public interface AccountService {
    ResultVm<PCustomAccountDetailVm> getAccount(UserVo userVo);

    ResultVm<PCustomAccountDetailVm> getUserAccount(String id);

    ResultVm<String> update(QCustomAccountUpdateVo qCustomAccountUpdateVo, UserVo userVo);

    ResultVm<Page<PCustomAccountPageVm>> page(QCustomAccountPageVo qCustomAccountPageVo);

    ResultVm<String> save(UserVo userVo, QCustomAccountAddVo qCustomAccountAddVo);

    ResultVm<String> pay(QCustomAccountVo vo);
}
